export default [{
  path: '/',
  redirect: '/index' //redirect重定向
}, {
  path: '/index',
  neme: 'index',
  meta: {
    title: '第一个页面'
  },
  component: () => import('@/views/index.vue'),
  children: [

  ],
  meta: {
    keepAlive: true // 需要被缓存
  }
}, {
  path: '/sanDianLin',
  neme: 'sanDianLin',
  meta: {
    title: 'vue3.0'
  },
  component: () => import('@/views/sanDianLin/index.vue'),
  children: [

  ]
}, {
  path: '/sanDianLin/smzq',
  neme: 'smzq',
  meta: {
    title: '生命周期'
  },
  component: () => import('@/views/sanDianLin/生命周期.vue'),
  children: [

  ]
}, {
  path: '/sanDianLin/qjsxfz',
  neme: 'qjsxfz',
  meta: {
    title: '全局方法封装使用'
  },
  component: () => import('@/views/sanDianLin/全局方法封装使用.vue'),
  children: [

  ]
}, {
  path: '/sanDianLin/xtx',
  neme: 'xtx',
  meta: {
    title: '新特性'
  },
  component: () => import('@/views/sanDianLin/新特性.vue'),
  children: [

  ]
}, {
  path: '/sanDianLin/zdsx',
  neme: 'zdsx',
  meta: {
    title: '只读数据'
  },
  component: () => import('@/views/sanDianLin/只读数据.vue'),
  children: [

  ]
}, {
  path: '/sanDianLin/jssx',
  neme: 'jssx',
  meta: {
    title: '计算属性'
  },
  component: () => import('@/views/sanDianLin/计算属性.vue'),
  children: [

  ]
}, {
  path: '/sanDianLin/jk',
  neme: 'jk',
  meta: {
    title: '监控'
  },
  component: () => import('@/views/sanDianLin/监控.vue'),
  children: [

  ]
}, {
  path: '/sanDianLin/lytz',
  neme: 'lytz',
  meta: {
    title: '路由跳转'
  },
  component: () => import('@/views/sanDianLin/路由跳转.vue'),
  children: [

  ]
}, {
  path: '/sanDianLin/lytzym',
  neme: 'lytzym',
  meta: {
    title: '路由跳转页面'
  },
  component: () => import('@/views/sanDianLin/路由跳转页面.vue'),
  children: [

  ]
}, {
  path: '/sanDianLin/hslytz',
  neme: 'hslytz',
  meta: {
    title: '函数路由跳转'
  },
  component: () => import('@/views/sanDianLin/函数路由跳转.vue'),
  children: [

  ]
}, {
  path: '/sanDianLin/hslytzym',
  neme: 'hslytzym',
  meta: {
    title: '函数路由跳转页面'
  },
  component: () => import('@/views/sanDianLin/函数路由跳转页面.vue'),
  children: [

  ]
}, {
  path: '/sanDianLin/sxbd',
  neme: 'sxbd',
  meta: {
    title: 'v-model双向绑定'
  },
  component: () => import('@/views/sanDianLin/v-model双向绑定.vue'),
  children: [

  ]
}, {
  path: '/sanDianLin/fztx',
  neme: 'fztx',
  meta: {
    title: '父子通信'
  },
  component: () => import('@/views/sanDianLin/父子通信.vue'),
  children: [

  ]
}, {
  path: '/sanDianLin/mbzdref',
  neme: 'mbzdref',
  meta: {
    title: '模板中的ref'
  },
  component: () => import('@/views/sanDianLin/模板中的ref.vue'),
  children: [

  ]
}, {
  path: '/sanDianEr',
  neme: 'sanDianEr',
  meta: {
    title: 'vue3.2'
  },
  component: () => import('@/views/sanDianEr/index.vue'),
  children: [

  ]
}, {
  path: '/sanDianEr/xtx',
  neme: 'xtx',
  meta: {
    title: '新特性'
  },
  component: () => import('@/views/sanDianEr/新特性.vue'),
  children: [

  ]
}, {
  path: '/sanDianEr/jssx',
  neme: 'jssx',
  meta: {
    title: '计算属性'
  },
  component: () => import('@/views/sanDianEr/计算属性.vue'),
  children: [

  ]
}, {
  path: '/sanDianEr/jk',
  neme: 'jk',
  meta: {
    title: '监控'
  },
  component: () => import('@/views/sanDianEr/监控.vue'),
  children: [

  ]
}, {
  path: '/sanDianEr/zjtx',
  neme: 'zjtx',
  meta: {
    title: '组件通信'
  },
  component: () => import('@/views/sanDianEr/组件通信.vue'),
  children: [

  ]
}, {
  path: '/sanDianEr/v-modelZjtx',
  neme: 'v-modelZjtx',
  meta: {
    title: 'v-model组件通信'
  },
  component: () => import('@/views/sanDianEr/组件通信v-model.vue'),
  children: [

  ]
}, {
  path: '/sanDianEr/zjtxRef',
  neme: 'zjtxRef',
  meta: {
    title: '组件通信ref'
  },
  component: () => import('@/views/sanDianEr/组件通信ref.vue'),
  children: [

  ]
}, {
  path: '/sanDianEr/provideInject',
  neme: 'provideInject',
  meta: {
    title: 'provide和inject'
  },
  component: () => import('@/views/sanDianEr/provide和inject.vue'),
  children: [

  ]
}, {
  path: '/sanDianEr/ccSlot',
  neme: 'ccSlot',
  meta: {
    title: '插槽slot'
  },
  component: () => import('@/views/sanDianEr/插槽slot.vue'),
  children: [

  ]
}, {
  path: '/sanDianEr/dtzj',
  neme: 'dtzj',
  meta: {
    title: '动态组件'
  },
  component: () => import('@/views/sanDianEr/动态组件.vue'),
  children: [

  ]
}, {
  path: '/sanDianEr/lydhy',
  neme: 'lydhy',
  meta: {
    title: '路由导航页'
  },
  component: () => import('@/views/sanDianEr/路由导航页.vue'),
  children: [

  ]
}, {
  path: '/sanDianEr/lytzy',
  neme: 'lytzy',
  meta: {
    title: '路由跳转页'
  },
  component: () => import('@/views/sanDianEr/路由跳转页.vue'),
  children: [

  ]
}, {
  path: '/sanDianEr/vuex',
  neme: 'vuex',
  meta: {
    title: 'vuex'
  },
  component: () => import('@/views/sanDianEr/vuex.vue'),
  children: [

  ]
}, {
  path: '/sanDianEr/cssblzr',
  neme: 'cssblzr',
  meta: {
    title: 'CSS变量注入'
  },
  component: () => import('@/views/sanDianEr/CSS变量注入.vue'),
  children: [

  ]
}, {
  path: '/sanDianEr/smzq',
  neme: 'smzq',
  meta: {
    title: '生命周期'
  },
  component: () => import('@/views/sanDianEr/生命周期.vue'),
  children: [

  ]
}, {
  path: '/sanDianEr/dmcfcs',
  neme: 'dmcfcs',
  meta: {
    title: '代码拆分测试'
  },
  component: () => import('@/views/sanDianEr/代码拆分测试.vue'),
  children: [

  ]
}, {
  path: '/sanDianEr/hooks',
  neme: 'hooks',
  meta: {
    title: 'hooks使用'
  },
  component: () => import('@/views/sanDianEr/hooks使用.vue'),
  children: [

  ]
}, {
  path: '/lx',
  neme: 'lx',
  meta: {
    title: '练习'
  },
  component: () => import('@/views/练习.vue'),
  children: [

  ]
}, {
  path: '/:pathMatch(.*)',
  redirect: '/index' //redirect重定向
},]